<?php
namespace Erp\Controller ;
use Fn;
use Think\Controller ;
/**
 * Description of ProductController
 * @author Administrator
 */
class ProductController  extends Controller {
	public function getProduct($productId){
//        $res = F('getProductInfo');
//        return $res;
        $table = 'product';
            $map['product_id'] = array('eq',$productId);
            $data = '';
            $method = 'find';
            $res = A('OrdersInfo')->Order($table,$map,$method,$data);
            $res = json_decode($res,true);
            return $res;
       }
}



















